package cn.iocoder.yudao.module.design.controller.admin.notes.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Tag(name =  "管理后台 - 项目笔记 Excel 导出 Request VO", description = "参数和 NotesPageReqVO 是一致的")
@Data
public class NotesExportReqVO {

    @Schema(description = "日记日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] date;

    @Schema(description = "项目id")
    private Long houseId;

    @Schema(description = "流程id")
    private Long flowId;

    @Schema(description = "节点id")
    private Long nodeId;

    @Schema(description = "日记信息")
    private String content;

    @Schema(description = "创建者")
    private String creator;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] createTime;

    @Schema(description = "封面")
    private String imgUrl;

    @Schema(description = "状态")
    private String statusCd;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "标题")
    private String title;

}
